package com.xqls.biz;

import java.util.List;
import java.util.Map;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import com.xqls.bean.SamplingRecordBean;
import com.xqls.dal.model.SamplingRecord;
import com.xqls.util.CommonPage;
import com.xqls.util.CommonResult;

public interface SamplingRecordBiz {
	/**
	 * 采样记录批量保存接口
	 * @param recordBean
	 * @return
	 */
	
	public CommonResult insertSamplingRecordList(List<SamplingRecordBean> recordBeans);
	
	/**
	 * 根据采样类型 分页查询相应的采样记录
	 * @param commonPage
	 * @param sampleType
	 * @return
	 */
	public CommonResult queryRecordBySampleType(CommonPage commonPage,String sampleType, HttpServletRequest request, HttpServletResponse response);
	
	public SamplingRecord queryRecordByDeviceNo(String deviceNo,String sampleType);
	
	void getListByMap(HttpServletRequest request,HttpServletResponse response,Map<String, Object> map);

}
